<?php

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<?php // echo $this->Html->charset(); ?>
	<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
	
	<title>
		<?php echo $title_for_layout; ?>
	</title>
	<?php
		echo $this->Html->meta('icon','/cleodesign/img/cleo.ico');
		

		echo $this->Html->css('styles.css');
		

		echo $scripts_for_layout;
	?>
<!--</head>-->
<!--<body>-->
<!--	<div id="container">-->
<!--		<div id="content">-->
			<?php echo $this->Session->flash(); ?>
			
			<?php //echo $content_for_layout; ?>
			<?php 
				if ($admin == 1){
					echo $this->Html->link('Pagina Principal',
									'/');
				}
				else{
					echo "<br />";echo "&nbsp;";echo "&nbsp;";
					echo  $this->Html->link(
    							  $this->Html->image('english.gif', array("alt" => "English", "width" => "30", "height" => "20", "border" => "0")),
    							  '/en/inicio/',array('escape' => false));echo "&nbsp;";
					echo  $this->Html->link(
    							   $this->Html->image('french.gif', array("alt" => "French", "width" => "30", "height" => "20", "border" => "0")),
    							   '/fr/inicio/', array('escape' => false));echo "&nbsp;";
					echo  $this->Html->link(
    							   $this->Html->image('spain.gif', array("alt" => "Spanish", "width" => "30", "height" => "20", "border" => "0"), array('escape' => false)),
    							   '/',array('escape' => false));
    							   
    						
				}
			echo $content_for_layout; ?>
<!--		</div>-->
<!--		<div id="footer">-->
<!--	    </div>-->
<!--	</div>-->
	<?php echo $this->element('sql_dump'); ?>
	
	
<!--</body>-->
<!--</html>-->